<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    <p>用户名:<input type="text" name="u_name" value="{{ user_obj.u_name }}">{{ error1 }}{{ error3 }}</p>
    <p>密码:<input type="text" name="password" value="{{ user_obj.password }}">{{ error4 }}</p>
    <p>姓名:<input type="text" name="name" value="{{ user_obj.name }}">{{ error5 }}</p>
    <p>手机号:<input type="text" name="phone" value="{{ user_obj.phone }}">{{ error6 }}</p>
    <p>实验室名:<input type="text" name="lad_id" value="{{ user_obj.lad.l_name }}">{{ error2 }}{{ error7 }}</p>
    <button>提交</button>

</form>
</body>
</html>